package yang.learn.entity;

import java.io.Serializable;

public class ChatRoomRecord implements Serializable {

    private int chat_id;
    private int chat_user_id;
    private String chat_user_name;
    private  String chat_context;

    public ChatRoomRecord() {
    }

    public ChatRoomRecord(int chat_id, int chat_user_id, String chat_user_name, String chat_context) {
        this.chat_id = chat_id;
        this.chat_user_id = chat_user_id;
        this.chat_user_name = chat_user_name;
        this.chat_context = chat_context;
    }

    @Override
    public String toString() {
        return "ChatRoomRecord{" +
                "chat_id=" + chat_id +
                ", chat_user_id=" + chat_user_id +
                ", chat_user_name='" + chat_user_name + '\'' +
                ", chat_context='" + chat_context + '\'' +
                '}';
    }

    public int getChat_id() {
        return chat_id;
    }

    public void setChat_id(int chat_id) {
        this.chat_id = chat_id;
    }

    public int getChat_user_id() {
        return chat_user_id;
    }

    public void setChat_user_id(int chat_user_id) {
        this.chat_user_id = chat_user_id;
    }

    public String getChat_user_name() {
        return chat_user_name;
    }

    public void setChat_user_name(String chat_user_name) {
        this.chat_user_name = chat_user_name;
    }

    public String getChat_context() {
        return chat_context;
    }

    public void setChat_context(String chat_context) {
        this.chat_context = chat_context;
    }
}
